package com.car.service;

import com.car.entity.Coupon;
import com.car.entity.Exchangetable;
import com.car.entity.GrabThe;
import com.car.entity.Integral;

import java.util.List;

public interface ExchangetableService {
    int deleteByPrimaryKey(Integer changeId);

    int insert(Exchangetable record,Integer integral,Coupon coupon,GrabThe grabThe,Integral integral2);

    Exchangetable selectByPrimaryKey(Integer changeId);

    List<Exchangetable> selectAll();

    int updateByPrimaryKey(Exchangetable record);
    
    List<Exchangetable> selectByuserId(Integer userId);
}